package com.ljc.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.pagehelper.PageHelper;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.regex.Pattern;

@Data
public class ProjectPlanning {
    private int id;
    private String collegeName;
    private String projectName;
    private String projectType;
    private String labName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date labEstablishDate;
    private String location;
    private int area;
    private int deviceQuantity;
    private int valueSum;
    private String deviceName;
    @JsonFormat(pattern = "yyyy")
    private Date purchaseYear;
    private String useStatus;
    private String planningBrief;
    private String expectedGoal;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdDate;

    private int userId;
    private int status;

    //一对多
    private List<ExperimentSituation> experimentSituations;

    private List<DevicePurchasePlanning> devicePurchasePlannings;

    private List<Attachment> attachments;

    //论证结果封装
    private int argumentStatus;
}
